package com.myway.dto.lottery;

import java.io.Serializable;
import java.util.List;

public class DTOPaging<T> implements Serializable {
	private static final long serialVersionUID = -7353209204840177473L;
	/**
	 * 页码
	 */
	private int pageIndex = 0;
	/**
	 * 每页最大显示条数
	 */
	private int limit = 0;
	/**
	 * 总页数
	 */
	private int totalPage = 0;
	/**
	 * 总记录数
	 */
	private int totalCount;
	/**
	 * 查询结果数据
	 */
	private List<T> root;

	public int getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public List<T> getRoot() {
		return root;
	}

	public void setRoot(List<T> root) {
		this.root = root;
	}

}
